<template>
  <div class="dealshort">
    <div class="search">
      <div class="mui-input-row">
        <label>扫码区域：</label>
        <div class="search-right">
          <input type="text" placeholder="请输入工单编号" class="search-input" />
          <el-button type="primary">确定</el-button>
        </div>
      </div>
    </div>
    <div class="mui-card">
      <div class="mui-card-content">
        <div class="mui-card-content-inner">
          <p>
            <span>异常单号</span>
            <span>JOB20180116001</span>
          </p>
          <p>
            <span>测试时间</span>
            <span>2019-08-05 14:11:25</span>
          </p>
          <p>
            <span>测试人员</span>
            <span>zxl</span>
          </p>
          <p>
            <span>工 单</span>
            <span>WN20192022</span>
          </p>
          <p>
            <span>产品编码</span>
            <span>0</span>
          </p>
          <p>
            <span>数 量</span>
            <span>1</span>
          </p>
          
          <div class="deal" @click="goRepair">
            <p style="color:#26A2FF;">维修</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: ""
    };
  },
  methods: {
    goRepair() {
      this.$router.push({ name: "repairCenterLast" });
    }
  }
};
</script>

<style scoped="scoped">
.dealshort .deal {
  padding-top: 10px;
  display: flex;
  justify-content: center;
}
.dealshort .deal p {
  font-size: 16px;
}
.dealshort .deal:hover {
  background: #eeeeee;
}

.search-input {
  padding-left: 0;
  border: none;
  margin-bottom: 0;
  font-size: 16px;
}

.dealshort .search {
  margin-top: 50px;
}

.mui-input-row {
  background: white;
}

.mui-input-row label {
  padding-right: 4px;
  font-size: 16px;
  width: 34%;
}

.dealshort .el-button {
  padding: 8px 16px;
  margin-bottom: 0px;
  height: 30px;
  margin-top: 5px;
  margin-right: 10px;
}

.dealshort .search-right {
  display: flex;
  justify-content: space-between;
}

.mui-card {
  box-shadow: 0px 6px 8px #cdcdcd;
  margin-bottom: 17px;
}
.mui-card-content-inner {
  padding-bottom: 0px;
}
.mui-card-content-inner p {
  display: flex;
  justify-content: space-between;
}
</style>
